'use strict';
import React, {Component, PropTypes} from 'react';
import { connect } from 'react-redux';
import './style/default/index.less';
import Properties from '../../../../config/properties';
import {removeLoading} from '../../utils';
class Screen extends Component {
    constructor(props) {
        super(props);
        removeLoading();
    }
    render() {
        const key = this.props.location.pathname;
        return (
            <div className="authContainer" >
                {React.cloneElement(this.props.children || <div />, {key: key})}
            </div>
        );
    }
}
Screen.propTypes = {
    location: PropTypes.object
};

export default Screen;

